﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Sharp.Domain.Model;

namespace Sharp.Domain.CMSBoundedContext.VIUModule.Aggregates
{
    /// <summary>
    /// 顶格日志
    /// </summary>
    public partial class DiggDiary : AggregateRoot
    {
        public DiggDiary()
        {
            this.CheckInTime = DateTime.Now;
        }
        

        public Guid DiggId { get; set; }
        public string Name { get; set; }
        public bool IsReg { get; set; }
        public bool IsAgree { get; set; }
        public string IP { get; set; }
        public DateTime? CheckInTime { get; set; }
        [ForeignKey("DiggId")]
        public virtual Digg Digg { get; set; }
    }
}